<?php

namespace plugins\ceshi\controller;
use adminmatrix\plugins\Plugins;
use adminmatrix\server\app\middleware\ReturnMiddleware;
use think\Request;
use think\facade\View;
class UserController extends Plugins
{
    protected array $middleware = [
        ReturnMiddleware::class
    ];
    
    public function index(Request $request)
    {
        View::assign('user', 'asdasd');
        return View::fetch();
    }
}